package com.veetao.api.msgqueue;

import java.io.Serializable;
import java.util.Date;

import com.veetao.api.utils.McpUtils;

/**
 * 
 * @author guohongtao
 * @date 2016年8月1日
 */
public class AbstractAction implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	private Date createTime;


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public AbstractAction() {
		super();
		this.createTime = new Date();
	}
	
	public int getNewGenerateValue() {
		return 1;
	}
	
	@Override
	public String toString() {
		return McpUtils.buildJSONResult(this);
	}
}
